package com.mypack.bookStore.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.mypack.bookStore.services.UCenterService;

@Controller
public class LoginController {
	@Resource
	private UCenterService uCenterService;
	
	@RequestMapping(value = {"/login","/ulogin"})
	public String login(){
		uCenterService.getUserByUserName("admin");
		return "login";
	}
}
